<%@tag pageEncoding="UTF-8"%>
<%@ attribute name="menuList" type="java.util.List" required="true"%>
<%@ attribute name="currentMenu" type="org.kl.bf.entity.basic.Menu"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:forEach items="${menuList}" var="menu">
	<option value="${menu.id }" <c:if test="${menu.id==currentMenu.menuParentId}">selected='selected'</c:if>>${menu.menuName }</option>
	<c:forEach items="${menu.childMenuList}" var="second">
		<option value="${second.id }" <c:if test="${second.id==currentMenu.menuParentId}">selected='selected'</c:if>>&nbsp;&nbsp;&nbsp;&nbsp;${second.menuName }</option>
		<c:forEach items="${second.childMenuList}" var="thrid">
			<option value="${thrid.id }" <c:if test="${thrid.id==currentMenu.menuParentId}">selected='selected'</c:if>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${thrid.menuName }</option>
		</c:forEach>
	</c:forEach>
</c:forEach>

